package org.gtugs.omsk.funnycats.engine;

public class GameEffect {
	public static enum EffectType{
		ACCELERATE,
		SLOW,
		STOP
	}
	
	public GameEffect(EffectType type, float lifetime, float fSpeed, float fAccelerate, float sSpeed, float sAccelerate) {
		this.type = type;
		this.lifetime = lifetime;
		this.fSpeed = fSpeed;
		this.fAccelerate = fAccelerate;
		this.sSpeed = sSpeed;
		this.sAccelerate = sAccelerate;
	}
	
	public EffectType getType(){
		return type;
	}
	
	public float getLifetime() {
		return lifetime;
	}
	
	public float getfSpeed() {
		return fSpeed;
	}
	
	public float getfAccelerate() {
		return fAccelerate;
	}
	
	public float getsSpeed() {
		return sSpeed;
	}
	
	public float getsAccelerate() {
		return sAccelerate;
	}
	
	public void setLifetime(float lifetime){
		this.lifetime = lifetime;
	}
	
	private EffectType type;
	private float lifetime;
	//factors
	private float fSpeed;
	private float fAccelerate;
	//summand
	private float sSpeed;
	private float sAccelerate;
}
